package com.six666.medicaldevicetestingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six666.medicaldevicetestingsystem.entity.Pair;
import com.six666.medicaldevicetestingsystem.entity.UserAccount;
import com.six666.medicaldevicetestingsystem.dto.Observe_DTO;

import java.util.List;

public interface Account_Service extends IService<UserAccount> {
    Pair<Integer,UserAccount> login(String username, String password);

    Pair<Integer, UserAccount> sign(UserAccount user);

    Observe_DTO observe(int user_id);

    List<UserAccount> get_by_id_list(List<Integer> ongoingTestAccountIdList);
    UserAccount get_by_id(int id);
}
